/*
 * ContextoMenos1.h
 *
 *  Created on: Jun 21, 2010
 *      Author: osky
 */

#ifndef CONTEXTOMENOS1_H_
#define CONTEXTOMENOS1_H_

#include "Contexto.h"

class ContextoMenos1:public Contexto{

public:

	ContextoMenos1():Contexto(""){

	}
	bool emitir (typeCaracterAscii caracter){

		if (caracter==EOF){

			caracter = 257;
		}
		Compresor::comprimir(caracter,1,257,caracter);

		return false;

	}

	typeCaracterAscii emitirDescomprimido(typeCaracterAscii caracter){

		return caracter;
	}

};


#endif /* CONTEXTOMENOS1_H_ */
